package com.joro.ejb;
import java.util.Collection;

import javax.ejb.Local;

import com.joro.Customer;
import com.joro.Subscription;

@Local
public interface SubscriptionFacadeLocal {

	Collection<Subscription> getSubscriptions();
	
	Collection<Subscription> getCustomerSubscriptions(Customer pCustomer);

	void saveSubscription(Subscription pSubscription);

	void deleteSubscription(Subscription subscription);
	
	Subscription getSubscriptionById(int pSubscriptionId);
}
